<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">

    <title>myblog</title>

    <link href="/css/bootstrap.css" rel="stylesheet">
    <!--<link href="/css/bootstrap-theme.css" rel="stylesheet">-->
    <style type="text/css">
        .navbar{
            margin-bottom:0;
        }
        .title{
            color:red;
        }
        .author label{
            color:red;
        }
        .date label{
            color:lightpink;
        }
    </style>


</head>

<body>
<%- include("header",{isLogin:isLogin,username:username}) %>

<div class="container">

    <!-- Example row of columns -->
    <div class="row">
        <div class="panel panel-primary">
            <div class="panel-heading">
                <h3 class="panel-title">2016年12月</h3>
            </div>
            <div class="panel-body">
                <div class="list-group">
                    <% for(var i=0;i<lists.length ; i++){ %>
                    <a href="#" class="list-group-item"><%= lists[i].date.day %> <span style="color:blue;margin-left: 25px;"><%= lists[i].title %></span></a>
                    <% } %>

                </div>
            </div>
        </div>

    </div>

    <hr>

  <!--  <footer>
        <p>&copy; Company 2014</p>
    </footer>-->
</div> <!-- /container -->


<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="/js/jquery-1.11.3.min.js"></script>
<script src="/js/bootstrap.js"></script>
<script type="text/javascript">
    function changeISODateToStand(date){
        console.log("date:"+date);
        var str=new Date(date);
        var s=new Date(str.getTime()+1*60*1000).Format("yyyy-MM-dd HH:mm:ss");
        console.log("s:"+s);
        return s;
    }
</script>
</body>
</html>
